type net/netip.parsePrefixError
8 uses
net/netip (current package)
netip.go#L1352: type parsePrefixError struct {
netip.go#L1357: func (err parsePrefixError) Error() string {
netip.go#L1371: return Prefix{}, parsePrefixError{in: s, msg: "no '/'"}
netip.go#L1375: return Prefix{}, parsePrefixError{in: s, msg: err.Error()}
netip.go#L1379: return Prefix{}, parsePrefixError{in: s, msg: "IPv6 zones cannot be present in a prefix"}
netip.go#L1386: return Prefix{}, parsePrefixError{in: s, msg: "bad bits after slash: " + strconv.Quote(bitsStr)}
netip.go#L1391: return Prefix{}, parsePrefixError{in: s, msg: "bad bits after slash: " + strconv.Quote(bitsStr)}
netip.go#L1398: return Prefix{}, parsePrefixError{in: s, msg: "prefix length out of range"}
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |